import request from '@/utils/request'

// 查询拼图活动卡片信息列表
export function listJigsawActivitySub(query) {
  return request({
    url: '/business/jigsawActivitySub/list',
    method: 'get',
    params: query
  })
}

// 查询拼图活动卡片信息详细
export function getJigsawActivitySub(id) {
  return request({
    url: '/business/jigsawActivitySub/' + id,
    method: 'get'
  })
}

// 新增拼图活动卡片信息
export function addJigsawActivitySub(data) {
  return request({
    url: '/business/jigsawActivitySub',
    method: 'post',
    data: data
  })
}

// 修改拼图活动卡片信息
export function updateJigsawActivitySub(data) {
  return request({
    url: '/business/jigsawActivitySub',
    method: 'put',
    data: data
  })
}

// 删除拼图活动卡片信息
export function delJigsawActivitySub(id) {
  return request({
    url: '/business/jigsawActivitySub/' + id,
    method: 'delete'
  })
}
